package zhihuilan.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class MyPcd {
    private Integer id;
    private Integer code;
    private Integer pid;
    private String name;
    private Integer level;
    private Integer status;
    private Integer ext;
    private Integer sort;
    private String en;
    private Integer memberid;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatetime;
    private Integer capital;
    private Integer ishot;
    private Integer istop;

    @JsonProperty("short_name")
    private String shortName;
    @TableField(exist = false)
    private String region;
}
